<script type="text/javascript" src="js/dhtmlgoodies_calendar.js"></script>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/extremecomponents.tld" prefix="ec" %>
<%@taglib uri="http://ajaxtags.org/tags/ajax" prefix="ajax"%>

<link href="<%=request.getContextPath()%>/css/ajax/ajaxtags.css" rel="stylesheet" type="text/css" />
<link href="<%=request.getContextPath()%>/css/ajax/displaytag.css" rel="stylesheet" type="text/css" />
<link href="css/dhtmlgoodies_calendar.css" rel="stylesheet" type="text/css">

<!-- Init menu de acciones de operador -->


<div class="main">
	<div style="margin:0;padding:0;clear:both;">
		<a href="abmPdi.do?method=formListoUnidades" class="tab currentTab" onclick="this.blur();"><span>Unidades</span></a>
		<a href="abmPdi.do?method=preparedSelectProceso" class="tab unselectedTab" onclick="this.blur();"><span>Inventario</span></a>
		<a href="abmPdi.do?method=preparedSelectParamPeriodo" class="tab unselectedTab" onclick="this.blur();"><span>Reportes por Periodo</span></a>
		<a href="abmPdi.do?method=preparedSelectParamPd0018cl" class="tab unselectedTab" onclick="this.blur();"><span>Reportes por Proceso</span></a>		
	</div>

	<div class="panel_100 tab">
    	
		<div class="space"></div>
    	<div>Unidades</div>
    	
		<div class="space"></div>
		
		<fieldset class="defaultFieldset" id="field_newOrganismo" >
			<legend>Busqueda de Unidad</legend>			
			
				<html:form action="abmPdi.do?method=preparedListoTraslados" styleId="abmPdiForm">
					
					<div class="separator"></div>	

					<label class="label_33 field" for="serie"><jsp:include page="../add_on/asterix.jsp"/>Serie de Unidad:</label>
					<input type="text" name="serie" value="" id="serie" class="label_10 inputData" maxlength="30" >
					
					<html:link href="#" styleClass="button" onclick="this.blur();submitForm('abmPdiForm');"><span>Buscar</span></html:link>
					
					<div class="separator"></div>
					
				</html:form>			
		</fieldset>
	<div class="space"></div>
</div>
	
</div>
<script type="text/javascript">
addObligatoryField("abmPdiForm","serie");

function submitForm(formId) { 
	if (validateFields(formId))
		document.getElementById(formId).submit();
}


</script>